package com.mazaiting.controller;

import com.mazaiting.annotation.Controller;
import com.mazaiting.annotation.RequestMapping;
import com.mazaiting.service.TestService;

/**
 * 测试控制器
 *
 * @author mazaiting
 * @since 2021/10/15
 */
@Controller("testController")
@RequestMapping("/test")
public class TestController {

    /**
     * 服务
     */
    private final TestService service = new TestService();

    @RequestMapping("/tmp")
    public void testTmp() {
        service.test();
    }
}


















